package com.managermype.util;

public class Constant {
	
	
	/**
	 * Environment variables 
	 */
	
	public static final String XML_ENCODING = "UTF-8";
	public static final String CHARSET_ENCODING_REQUEST = "UTF-8";
	public static final String CHARSET_ENCODING_RESPONSE = "UTF-8";
	public static final String CONTENT_TYPE_RESPONSE = "text/html; charset=UTF-8";
	public static final String DATE_SEPARATOR = "-";
	
	/**
	 * Application variables names
	 */
	
	public static final String CURRENT_USER_IN_SESSION = "userInSession";
	public static final String ERROR_MESSAGE = "errorMessage";
	
	/**
	 * Security 
	 */
	
	public static final String AJAX_REQUEST_HEADER = "XMLHttpRequest";
	public static final String AJAX_SERVLET_REQUEST = "X-Requested-With";
	public static final int SESSION_EXPIRED_ERROR_CODE = 901;

	
	public static final String SUCCESS_AJAX_REQUEST = "Success";
}
